home *** CD-ROM | disk | FTP | other *** search
- /********************************************************************/
- /* BWRPOINT.RC defines a simple Borland Windows Custom Control */
- /* Dialog Box that can be used as the main window. */
- /* Notice the CLASS "BORDLG" to activate the metalic background */
- /* Also notice the special "Borshade" Control and BorCheck controls */
- /* Notice the order of the controls Borshade, then 4 radio buttons, */
- /* then a Borshade and 4 more radio buttons. Also, notice that the */
- /* first radio button in each group has the Tab stop set. The order*/
- /* and the tabstop are important in order to make the TAB and the */
- /* arrow keys function correctly. */
- /********************************************************************/
-
- #include "windows.h"
- #include "bwcc.h"
- #include "bwrpoint.h" // Equates for radio buttons
-
- MAINWINDOWDIALOG DIALOG 22, 14, 126, 161
- CAPTION "Borland Radio Buttons"
- CLASS "BORDLG"
- STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
- BEGIN
- CONTROL " Unit #12", 103, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 60, 54, 66
- CONTROL "Test", IDB_UNIT12_TEST, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 72, 32, 10
- CONTROL "Phase 1", IDB_UNIT12_PHASE1, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 10, 84, 42, 10
- CONTROL "Phase 2", IDB_UNIT12_PHASE2, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 10, 96, 36, 10
- CONTROL "Phase 3", IDB_UNIT12_PHASE3, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 10, 108, 36, 10
- CONTROL " Unit #13", 103, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE | WS_GROUP, 66, 60, 54, 66
- CONTROL "Test", IDB_UNIT13_TEST, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 72, 72, 32, 10
- CONTROL "Phase 1", IDB_UNIT13_PHASE1, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 72, 84, 42, 10
- CONTROL "Phase 2", IDB_UNIT13_PHASE2, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 72, 96, 42, 10
- CONTROL "Phase 3", IDB_UNIT13_PHASE3, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 72, 108, 42, 10
- CONTROL "", 102, "BorShade", 2 | WS_CHILD | WS_VISIBLE, 0, 54, 126, 1
- CONTROL "", 101, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE, 6, 6, 114, 42
- CTEXT "Pointers to Radio Buttons", -1, 12, 12, 102, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
- CTEXT "Can be used to make", -1, 12, 24, 102, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
- CTEXT "Button processing easier.", -1, 12, 36, 102, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
- CONTROL "Button", IDCANCEL, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 18, 138, 32, 20
- CONTROL "Button", IDOK, "BorBtn", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 78, 138, 32, 20
- CONTROL "", 104, "BorShade", 2 | WS_CHILD | WS_VISIBLE, 0, 132, 126, 1
- END
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-